package com.yc.tomcat.core;

public class Cookie {
	private String name;
	private String value;
	private int maxAge;
	
	@Override
	public String toString() {
		return "Cookie [name=" + name + ", value=" + value + ", maxAge=" + maxAge + "]";
	}

	public Cookie() {
		super();
	}
	
	public Cookie(String name, String value) {
		super();
		this.name = name;
		this.value = value;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public int getMaxAge() {
		return maxAge;
	}

	public void setMaxAge(int maxAge) {
		this.maxAge = maxAge;
	}
	
	
}
